package com.opo5.logisticsmanagement.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;


/**
 * 仓库表
 */
@Data
public class Depot {
    private Integer id;
    private String depotType;        //仓库类型
    private String depotName;        //仓库名称
    private String depotAddress;     //仓库地址
    private Integer depotCapacity;   //仓库容积
    private Integer depotX;          //仓库横坐标
    private Integer depotY;          //仓库纵坐标

    //一对多
    @TableField(exist = false)
    private List<Locator> locators;

    //一对多
    @TableField(exist = false)
    private List<Material> materials;
}
